#include <iostream>

using namespace std;

class A {
   public:
    A() { cout << "A() "; }
    ~A() { cout << "~A() "; }
};

int main() {
    A *p = new A[2];
    A *p2 = new A[1];
    A a;
    delete[] p;
    cout << "enddel\n";
}